package com.ajk.shop.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author xuan.chen
 * @date 2015-12-29
 *
 */
public class Goods implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 8884139981433574361L;

	/**  */
    private Integer id;

    /** 商品条形码 */
    private String qrCode;

    /** 默认分类 */
    private Integer catId;

    /** 商品名称 */
    private String title;

    /** 型号 */
    private String model;

    /** 库存单位 */
    private String sku;

    /** 供货商 */
    private String supplierId;

    /** 仓库ID */
    private Integer stockId;

    /** 商品货位 */
    private String location;

    /** 商品摘要 */
    private String subject;

    /** 品牌 */
    private Integer brandId;
    /**品牌**/
    private String brand;

    /** 市场价 */
    private Integer marketPrice;

    /** 销售价 */
    private Integer salePrice;

    /** 商品数量 */
    private Integer amount;

    /** 是否实体货品 */
    private Integer isReal;

    /** 排序 */
    private Integer sortOrder;

    /** 热卖 */
    private Integer isHot;

    /** 是否推荐 */
    private Integer isRecommend;

    /** 缩略图 */
    private String thumbnailImage;

    /** 库存状态 */
    private Integer stockStatus;

    /** 是否上架 */
    private Integer isOnsale;

    /** 是否减库存 */
    private Integer subtract;

    /** 创建时间 */
    private Date createTime;

    /** 最后修改时间 */
    private Date lastModifyTimestamp;

    /** 图文详情 */
    private String description;
    /**类型:1，实体商品,2:服务 **/
    private Integer type;
    /**是否首页展示 0:否,1:是**/
    private Integer isHomePage;
    /**
     * 购买数量
     */
    private Integer buyCount;
    /**
     * 商品评测url
     */
    private String intrUrl;
    /** 是否配送 1:是 0:否**/
    private Integer isExpress;
    /**商品类型 **/
    private Integer goodsType;
    
    private Integer isUseCoupon;
    /**生产厂商**/
    private String manufacturer;
    /**批准文号**/
    private String approvalNumber;
    private Integer postFree;
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}

	/**
	 * @return the qrCode
	 */
	public String getQrCode() {
		return qrCode;
	}

	/**
	 * @param qrCode the qrCode to set
	 */
	public void setQrCode(String qrCode) {
		this.qrCode = qrCode;
	}

	/**
	 * @return the catId
	 */
	public Integer getCatId() {
		return catId;
	}

	/**
	 * @param catId the catId to set
	 */
	public void setCatId(Integer catId) {
		this.catId = catId;
	}

	/**
	 * @return the title
	 */
	public String getTitle() {
		return title;
	}

	/**
	 * @param title the title to set
	 */
	public void setTitle(String title) {
		this.title = title;
	}

	/**
	 * @return the model
	 */
	public String getModel() {
		return model;
	}

	/**
	 * @param model the model to set
	 */
	public void setModel(String model) {
		this.model = model;
	}

	/**
	 * @return the sku
	 */
	public String getSku() {
		return sku;
	}

	/**
	 * @param sku the sku to set
	 */
	public void setSku(String sku) {
		this.sku = sku;
	}


	public String getSupplierId() {
		return supplierId;
	}

	public void setSupplierId(String supplierId) {
		this.supplierId = supplierId;
	}

	/**
	 * @return the stockId
	 */
	public Integer getStockId() {
		return stockId;
	}

	/**
	 * @param stockId the stockId to set
	 */
	public void setStockId(Integer stockId) {
		this.stockId = stockId;
	}

	/**
	 * @return the location
	 */
	public String getLocation() {
		return location;
	}

	/**
	 * @param location the location to set
	 */
	public void setLocation(String location) {
		this.location = location;
	}

	

	/**
	 * @return the subject
	 */
	public String getSubject() {
		return subject;
	}

	/**
	 * @param subject the subject to set
	 */
	public void setSubject(String subject) {
		this.subject = subject;
	}

	/**
	 * @param description the description to set
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	/**
	 * @return the brandId
	 */
	public Integer getBrandId() {
		return brandId;
	}

	/**
	 * @param brandId the brandId to set
	 */
	public void setBrandId(Integer brandId) {
		this.brandId = brandId;
	}

	/**
	 * @return the marketPrice
	 */
	public Integer getMarketPrice() {
		return marketPrice;
	}

	/**
	 * @param marketPrice the marketPrice to set
	 */
	public void setMarketPrice(Integer marketPrice) {
		this.marketPrice = marketPrice;
	}

	/**
	 * @return the salePrice
	 */
	public Integer getSalePrice() {
		return salePrice;
	}

	/**
	 * @param salePrice the salePrice to set
	 */
	public void setSalePrice(Integer salePrice) {
		this.salePrice = salePrice;
	}

	/**
	 * @return the amount
	 */
	public Integer getAmount() {
		return amount;
	}

	/**
	 * @param amount the amount to set
	 */
	public void setAmount(Integer amount) {
		this.amount = amount;
	}

	/**
	 * @return the isReal
	 */
	public Integer getIsReal() {
		return isReal;
	}

	/**
	 * @param isReal the isReal to set
	 */
	public void setIsReal(Integer isReal) {
		this.isReal = isReal;
	}

	/**
	 * @return the sortOrder
	 */
	public Integer getSortOrder() {
		return sortOrder;
	}

	/**
	 * @param sortOrder the sortOrder to set
	 */
	public void setSortOrder(Integer sortOrder) {
		this.sortOrder = sortOrder;
	}

	/**
	 * @return the isHot
	 */
	public Integer getIsHot() {
		return isHot;
	}

	/**
	 * @param isHot the isHot to set
	 */
	public void setIsHot(Integer isHot) {
		this.isHot = isHot;
	}

	/**
	 * @return the isRecommend
	 */
	public Integer getIsRecommend() {
		return isRecommend;
	}

	/**
	 * @param isRecommend the isRecommend to set
	 */
	public void setIsRecommend(Integer isRecommend) {
		this.isRecommend = isRecommend;
	}

	/**
	 * @return the thumbnailImage
	 */
	public String getThumbnailImage() {
		return thumbnailImage;
	}

	/**
	 * @param thumbnailImage the thumbnailImage to set
	 */
	public void setThumbnailImage(String thumbnailImage) {
		this.thumbnailImage = thumbnailImage;
	}

	/**
	 * @return the stockStatus
	 */
	public Integer getStockStatus() {
		return stockStatus;
	}

	/**
	 * @param stockStatus the stockStatus to set
	 */
	public void setStockStatus(Integer stockStatus) {
		this.stockStatus = stockStatus;
	}

	/**
	 * @return the isOnsale
	 */
	public Integer getIsOnsale() {
		return isOnsale;
	}

	/**
	 * @param isOnsale the isOnsale to set
	 */
	public void setIsOnsale(Integer isOnsale) {
		this.isOnsale = isOnsale;
	}

	/**
	 * @return the subtract
	 */
	public Integer getSubtract() {
		return subtract;
	}

	/**
	 * @param subtract the subtract to set
	 */
	public void setSubtract(Integer subtract) {
		this.subtract = subtract;
	}

	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * @return the lastModifyTimestamp
	 */
	public Date getLastModifyTimestamp() {
		return lastModifyTimestamp;
	}

	/**
	 * @param lastModifyTimestamp the lastModifyTimestamp to set
	 */
	public void setLastModifyTimestamp(Date lastModifyTimestamp) {
		this.lastModifyTimestamp = lastModifyTimestamp;
	}

	/**
	 * @return the description
	 */
	public String getDescription() {
		return description;
	}


	/**
	 * @return the type
	 */
	public Integer getType() {
		return type;
	}

	/**
	 * @param type the type to set
	 */
	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getIsHomePage() {
		return isHomePage;
	}

	public void setIsHomePage(Integer isHomePage) {
		this.isHomePage = isHomePage;
	}

	public Integer getBuyCount() {
		return buyCount;
	}

	public void setBuyCount(Integer buyCount) {
		this.buyCount = buyCount;
	}

	public String getIntrUrl() {
		return intrUrl;
	}

	public void setIntrUrl(String intrUrl) {
		this.intrUrl = intrUrl;
	}

	public Integer getIsExpress() {
		return isExpress;
	}

	public void setIsExpress(Integer isExpress) {
		this.isExpress = isExpress;
	}

	public Integer getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(Integer goodsType) {
		this.goodsType = goodsType;
	}

	public Integer getIsUseCoupon() {
		return isUseCoupon;
	}

	public void setIsUseCoupon(Integer isUseCoupon) {
		this.isUseCoupon = isUseCoupon;
	}

	public String getManufacturer() {
		return manufacturer;
	}

	public void setManufacturer(String manufacturer) {
		this.manufacturer = manufacturer;
	}

	public String getApprovalNumber() {
		return approvalNumber;
	}

	public void setApprovalNumber(String approvalNumber) {
		this.approvalNumber = approvalNumber;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public Integer getPostFree() {
		return postFree;
	}

	public void setPostFree(Integer postFree) {
		this.postFree = postFree;
	}
	
	public void dealWith(){
	}
	
}